//通过指针输入输出数组元素的函数
#include <iostream>
using namespace std;
#define N 100
char *mystrcpy(char *s1, char *s2);
int main()
{
    char word[101];
    char *s1, *s2;
    cin >> word;
    s2 = word;
    cout << mystrcpy(s1, s2) << endl;
    return 0;
}

char *mystrcpy(char *s1, char *s2) //将s2中的内容复制到s1中，返回s1首地址
{
    int i = 0;

    for (i = 0; s2[i] != '\0'; i++)
    {
        s1[i] = s2[i];
    }

    return s1;
}
